#include <gtest/gtest.h>
#include "l1coreapi.h"

TEST(l1coreapi, t1_sunnyday){
  EXPECT_TRUE(l1api::l1api_init());
}
TEST(l1coreapi, t2_sunnyday){
  EXPECT_TRUE(l1api::l1api_shutdown());
}

TEST(l1coreapi, t3_sunnyday){
  EXPECT_FALSE(l1api::l1api_dowork(0));
  EXPECT_TRUE(l1api::l1api_dowork(1));
  EXPECT_TRUE(l1api::l1api_dowork(100));
}
